#pragma once

#define  NOMINMAX
#define  NODRAWTEXT

#include <d3d11.h>
#include <d3dx11.h>
#include <d3dx10math.h>

#pragma comment(lib,"d3d11.lib")
#pragma comment(lib,"d3dx11.lib")
#pragma comment(lib,"d3dcompiler.lib")
#pragma comment(lib, "d3dx10.lib")

#define HV(rt) if(FAILED(rt)){assert(0);}
///*errorMsg(L"error code: "<<rt,L"DX error");*/

#include "d3dx11effect.h"
#pragma comment(lib,"Effects11.lib")

#include <cassert>